* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-webkit-tap-highlight-color: transparent
}
html, body{
	height: 100%;
	position: relative;
	margin: 0;
	overflow: hidden;
	-webkit-user-select:none;
	-webkit-tap-highlight-color: transparent;
}
body{
	background-color: #000018;
}
a{
	text-decoration: none;
}
#container{
	width: 100%;
	position: relative;
	overflow: hidden;
}
#startgame{
	position: absolute;
	right: 20px;
	bottom: 20px;
}
#gamepanel{
	width: 320px;
	margin: 0 auto;
	height: 568px;
	position: relative;
	overflow: hidden;
}
@media screen and (min-width: 1024px) {
	#gamepanel, body, html{
		width: 320px;
		margin: 0 auto;
	}
}
#stage{
	background-color: #CCC;
}

.score-wrap {
	color: #FFF;
	font-family: "Helvetica","Microsoft YaHei",sans-serif;
	font-style: italic;
	font-size: 17px;
	font-weight: 700;
	height: 32px;
	letter-spacing: 2px;
	padding: 15px 10px;
	position: absolute;
	right: 20px;
	text-align: right;
	text-shadow: 1.5px 1.5px 1px #9bc6e8;
	width: 105px;
	z-index: 1005;
}
.score-wrap div {
	height: 26px;
	left: 2px;
	position: absolute;
	top: 2px;
	width: 26px;
	z-index: 1009
}
#guidePanel {
	background:#000018;
	opacity: 0.5;
	background-size: 219px 369px;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 10000
}
#guidePanel #rain{
	background: url(../img/rain3.png);
	width: 100px;
	height: 100px;
	float:left;
	margin-left:110px;
	margin-top: 150px;
	animation:swing 4s infinite;
}
@-webkit-keyframes swing{
	0% {
            -webkit-transform: translateX(20px) rotate(0deg);
          }
          12.5% {
            -webkit-transform: translateX(5px) rotate(20deg);
          }
          25% {
            -webkit-transform: translateX(-10px) rotate(0deg);
          }
          37.5% {
            -webkit-transform: translateX(-15px) rotate(10deg);
          }
          50% {
            -webkit-transform: translateX(-20px) rotate(0deg);
          }
           62.5% {
            -webkit-transform: translateX(-15px) rotate(10deg);
          }
          75% {
            -webkit-transform: translateX(-10px) rotate(0deg);
          }
          87.5% {
            -webkit-transform: translateX(5px) rotate(20deg);
          }
          100% {
            -webkit-transform: translateX(20px) rotate(0deg);
          }
}
#guidePanel #text{
	color: #FFF;
	font-family: "Helvetica","Microsoft YaHei",sans-serif;
	text-align: center;
	font-size: 15px;
	line-height: 28px;
	font-weight: 700;
	height: 32px;
	position: absolute;
	float: left;
	margin-left: 66px;
	margin-top: 280px;
	z-index: 1005;
}
#gameoverPanel {
	background: #000018;
	opacity: 0.5;
	background-size: 230px 260px;
	top: 0
}
#gameoverPanel #text{
	color: #FFF;
	font-family: "Helvetica","Microsoft YaHei",sans-serif;
	text-align: center;
	font-size: 15px;
	line-height: 28px;
	font-weight: 700;
	height: 32px;
	position: absolute;
	float: left;
	margin-left: 100px;
	margin-top: 230px;
	z-index: 1005;
}
#gameoverPanel,#resultPanel {
	display: none;
	height: 100%;
	position: absolute;
	width: 100%;
	z-index: 10000
}
#resultPanel{
	background:url(../img/endpage.jpg) center top no-repeat;
}

#resultPanel,#resultPanel .end {
	left: 0;
	top: 0
}
#resultPanel .replay {
	background: url(../img/replay.png) ;
	background-size: 25px 25px;
	position: absolute;
	height: 25px;
	left: 16px;
	top: 11px;
	width: 25px;
}

#resultPanel .panel,#scoreBoard .score-result {
	display: none;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%
}

#scorecontent{
	font-size: 18px;
	text-shadow: 1px 1.5px 1px #9bc6e8;
	font-weight: 700;
	color: #FFF;
	text-align: center;
	line-height: 1.8em;
	margin-top: 210px;
}
.lighttext{
	color: #9bc6e8;
}
